<% if user_signed_in? %>
  <%= render "signed_in_index" %>
<% else %>
  <%= render "signed_out_index" %>
<% end %>